.layui-form-item .layui-form-checkbox[lay-skin=primary]
{
    width: 20%;
}
.layui-form-item .layui-input-inline
{
    width: calc(100% - 170px);
}
.privileges-box
{
    display: none;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
}
.privileges-input
{
    overflow-Y: scroll;
    height: 279px;
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
.privileges-input::-webkit-scrollbar
 {
     width: 10px;
     background-color: #F5F5F5;
 }
/*定义滚动条轨道 内阴影+圆角*/
.privileges-input::-webkit-scrollbar-track
 {
     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
     border-radius: 30px;
     background-color: #F5F5F5;
 }
/*定义滑块 内阴影+圆角*/
.privileges-input::-webkit-scrollbar-thumb
 {
     border-radius: 30px;
     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
     background-color: #000;
 }
.privileges-box .layui-input-block
{
    width: calc(100% - 34px);
    margin: 0;
    padding: 0 17px;
}
.privileges-box .layui-form-checkbox[lay-skin=primary]
{
    width: 20%;
}
.privileges-box a
{
    display: block;
    line-height: 35px;
    font-size: 14px;
    color: #fff;
    background: #009688;
    text-align: center;
    width: 80px;
    margin-left: calc(100% - 173px);
    margin-top: 20px;
    border-radius: 2px;
}